package com.aabte.commons.errorcode;

import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;

/**
 * @author Daniel
 * @version 1.0
 * @date 2020/5/1
 */
@Configuration
@ConditionalOnWebApplication
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)
@EnableConfigurationProperties
@ComponentScan(basePackageClasses = ErrorCodeAutoConfiguration.class)
public class ErrorCodeAutoConfiguration {

}
